<?php

global $project;
$project = 'mysite';

global $databaseConfig;
$databaseConfig = array(
	"type" => 'MySQLDatabase',
	"server" => 'sql.qlstiffler.nazwa.pl',
	"username" => 'qlstiffler_1',
	"password" => 'QlP@g3-$s',
	"database" => 'qlstiffler_1',
	"path" => '',
);

MySQLDatabase::set_connection_charset('utf8');

// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.org/themes/
SSViewer::set_theme('qlpage');

// Set the site locale
i18n::set_locale('pl_PL');

// enable nested URLs for this site (e.g. page/sub-page/)
SiteTree::enable_nested_urls();

// enable full tekst search
FulltextSearchable::enable();

// Set the site locale
i18n::set_locale('pl_PL');

Validator::set_javascript_validation_handler('none');
MathSpamProtection::setEnabled();

Director::set_environment_type("dev");